package beego

import (
	"fmt"
	beego "github.com/beego/beego/v2/server/web"
)

type BeeController = beego.Controller

func Run(port int) {
	beego.Run(fmt.Sprintf(":%d", port))
}

func Route(pattern string, c beego.ControllerInterface, mappingMethods string) {
	beego.Router(pattern, c, mappingMethods)
}
